﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" Theme="User" AutoEventWireup="true"
    CodeFile="UProductsList.aspx.cs" Inherits="Pages_UProductsList" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/jquery.timers-1.2.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.easing.1.3.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.galleryview-3.0-dev.js" />
            <asp:ScriptReference Path="~/Pages/js/UProducstList.js" />
        </Scripts>
    </asp:ScriptManagerProxy>
    <div class="PageStyle">
        <div class="Content">
            <div class="HeaderStyle">
                <asp:Label ID="Label1" class="HeadItem" runat="server" Text="Sản Phẩm"></asp:Label>
            </div>
            <div class="FormStyle">
                <asp:ListView ID="lv" runat="server" DataKeyNames="ProID" DataSourceID="odsCate">
                    <LayoutTemplate>
                        <ul id="mgy">
                            <li id="itemPlaceholder" runat="server"></li>
                        </ul>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <li runat="server" name='<%# Eval("PROID") %>'>
                            <asp:Image ID="img" ImageUrl='<%# bn.getImgURL(Eval("HINH").ToString(), 600,350,false) %>'
                                runat="server" AlternateText="Image"></asp:Image>
                        </li>
                    </ItemTemplate>
                </asp:ListView>
                <asp:ObjectDataSource ID="odsCate" runat="server" SelectMethod="getProductsByCate"
                    TypeName="Jewelry.BussinessLayer.ProductBLL" OnObjectCreating="odsCateCreating"
                    OnSelected="odsCateSelected" OnSelecting="odsCateSelecting">
                    <SelectParameters>
                        <asp:Parameter Name="strCate" Type="String" ConvertEmptyStringToNull="False" />
                    </SelectParameters>
                </asp:ObjectDataSource>
                <asp:CustomValidator ID="cvalid" runat="server" EnableClientScript="false" Display="Dynamic"
                    ValidationGroup="grListProduct"></asp:CustomValidator>
            </div>
        </div>
    </div>

</asp:Content>
